package com.sneaker.shower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sneaker.shower.entity.domain.order.discount.CouponTransactionDO;

import java.util.List;

/**
 * @author Hechangjian
 * @version 1.0
 * @className CouponTransactionService
 * @date 2019/11/26 23:06
 * @description
 * @program bath
 */
public interface CouponTransactionService extends IService<CouponTransactionDO> {
    List<CouponTransactionDO> getTransactionByCouponGuid(Long couponGuid);

    List<CouponTransactionDO> getUserCouponTransaction(Integer couponType);

    Boolean createTransaction(CouponTransactionDO couponTransactionDO);
}
